package com.sy.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("商品分类")
public class GoodsCategoryTree {
    @ApiModelProperty("id")
    int id;
    @ApiModelProperty("类别编码")
    String code;
    @ApiModelProperty("类别名称")
    String name;
    @ApiModelProperty("子类别")
    List<GoodsCategoryTree> children;
}
